﻿
var serverDeviceStatusUrl = "http://dev.xlbyun.cn:5410"; //xmpp设备即使通讯url

//var serverUrl = 'http://dev.xlbyun.cn:4380'; //java接口服务
var serverUrl = 'http://localhost:8090';

var serverUrl2 = serverUrl;

var serverHostUrl = "http://localhost:9785"; //WEB

var webServiceUrl = serverHostUrl + '/WebService/DataService.asmx/'; //c#接口服务

var serviceUrl = serverHostUrl +"/WebView/daljs/";//web中js的url

var imgUrl = 'http://dev.xlbyun.cn:9088'; //图片

var reportServerUrl = "http://dev.xlbyun.cn:9080"; //报表

function loadScript(url) {
    var script = document.createElement("script")
    script.type = "text/javascript";   
    script.src = url;
    document.body.appendChild(script);
}

var loaded = (function (){
    //loadScript( serviceUrl + "dropzone.js" );
    loadScript(serviceUrl + "ajaxhelper.js");
    loadScript(serviceUrl + "common.js");  
})();
